%% Sample manager
datadir='C:\background\';

% Do analysis or just scan?
doanalysis=1;

% GPU or CPU
ifgpu=1;

% define boundaries
startdate=datenum(  '1 Jul, 1994' );
% startdate=datenum(  '08 Jun, 2005' );
enddate  =datenum(  '1 Jan, 2010' );
startdate=datenum(  '5 May, 2005' );
enddate  =datenum(  '1 Jul, 2005' );

% analising interval in days
anint    = 1;

% time step for main cycle
timestep = anint;

% period list in seconds
% A0536+26
freqlist=(9.645:0.0001:9.685)*1e-3;
% freqlist=(0.02:0.000002:0.06);
% freqlist=(1:0.001:100)*1e-3;
freqderlist=(-10:0.1:200)*1e-12;

% number of harmonics
hn      = 5;

% Energy ranges and detectors to investigate
okna=[2 3 4 5 6 7 8 9];